package com.aliyun.code83.round2.beans.radixtree;

import java.util.LinkedList;
import java.util.List;

public class RadixNode<T> {

    String path = "";

    T value = null;

    List<RadixNode<T>> children = new LinkedList<>();

    public RadixNode(String path) {
        this.path = path;
    }

    public RadixNode(String path, T value) {
        this.path = path;
        this.value = value;
    }
}
